package org.ax.pojo.device;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.ax.pojo.employ.Employee;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;

@Data //设备维修
public class DeviceMaintain  implements Serializable {

	private static final long serialVersionUID =  4419353019048872642L;
	@TableId
	private String deviceMaintainId;
	//故障编号
	private String deviceFaultId;

	private String deviceMaintainEmpId;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
	private java.time.LocalDateTime deviceMaintainDate;

	private String deviceMaintainResult;

	private double deviceMaintainCost;

	private String note;

	@TableField(exist = false)
	private Employee employee;


}
